/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package stub;

import java.io.FileNotFoundException;
import java.io.IOException;


/**
 *
 * @author nacho
 */
public interface StubInterface {

    int rfsOpen(String filename, boolean modo) throws ConnectionException, FileFoundException, IllegalAccessException, FileNotFoundException, IOException;
    Data rfsRead(int fd,String filename) throws ConnectionException, FileFoundException, IllegalAccessException, FileNotFoundException, IOException;
    void rfsWrite(int fd, String filename, byte[] stream, int longitud) throws ConnectionException, FileFoundException, IllegalAccessException, FileNotFoundException, IOException;
    void rfsClose(int fd, String filename) throws ConnectionException, FileFoundException, IllegalAccessException, FileNotFoundException, IOException;
    
}
